package com.z.utils.j2e

/**
 * @author wenzheng.ma
 * @date 2021-11-27 19:02
 * @desc
 */
object TestJ2e {
  def main(args: Array[String]): Unit = {
    var jsonStr = "{\"age\":\"18\",\"code\":\"10001\",\"name\":\"张三\"}";
    var t = Json2EntityUtils.j2e(jsonStr, new TestCase()).asInstanceOf[TestCase]
    println(t.code)
    println(t.name)
    println(t.age)
  }
}
